<script>
  var object_string="Number";
  if(confirm("Click OK for the maxium;click Cancel for the minimum"))
  {
    property_string="MAX_VALUE";
  }else
  {
    property_string="MIN_VALUE";
  }
  document.write("Without eval(): "+object_string+"."+property_string+"<br>");
  document.write("   With eval(): "+eval(object_string+"."+property_string));
  if(window.isNaN("s"))
    document.write("<br>Not a Number");
  else
    document.write("<br>Is a Number");
  document.write("<br>"+Math.sqrt("2"));
  document.write("<br>"+Math.round(-5.6));
</script>
